Changing Text Case

Different machine controls have different requirements for lower- and uppercase text. Use Code Editor's text-casing functions to set the case of a block of text.

ClosedTo set text to uppercase:

  1. Select the text that you want to uppercase.
  2. Right-click the selected text.
  3. Select Uppercase from the pop-up menu. Code Editor turns every letter of the selected text to uppercase. For example, the variable name num_holes becomes NUM_HOLES.

Closed To set text to lowercase:

  1. Select the text you want to lowercase.
  2. Right-click the selected text.
  3. Select Lowercase from the pop-up menu. Code Editor lowercases every letter of the selected text. For example, the variable name Num_HOLES becomes num_holes.

Closed To capitalize each word:

  1. Select the text to capitalize.
  2. Right-click the selected text.
  3. Choose Capitalize from the pop-up menu. Code Editor capitalizes the first letter of each word. For example, the variable name num_holes becomes Num_Holes.

ClosedTo reverse text case:

  1. Select the text whose case you want to reverse.
  2. Right-click the selected text.
  3. Choose Toggle case from the pop-up menu. Code editor reverses the case of the selected text. For example, the variable name Num_Holes becomes nUM_hOLES.

Learn more